﻿using System;
using System.Collections.Generic;
using System.Text;
using YouHP.Model;
using YouHP.BLL;
using YouHP.Utility;

namespace YouHP.Pages
{
   public  class SearchResult:BasePage
    {
      protected List<UserInfo> mUserLst =new List<UserInfo>();
      protected int diseaseId;
      protected int symptomId;
      protected int treatmentId;
      protected string username;
      protected int minAge;
      protected int maxAge;
      protected int provinceId;
      protected int cityId;
      protected int _UserCount;

       protected override void ShowPage()
       {
           
           base.ShowPage();

          
               diseaseId = RequestTools.GetQueryInt("disease", -1);
               symptomId = RequestTools.GetQueryInt("symptom", -1);
               treatmentId = RequestTools.GetQueryInt("treatment", -1);
               username = RequestTools.GetQueryString("username");
               minAge = RequestTools.GetQueryInt("minAge", -1);
               maxAge = RequestTools.GetQueryInt("maxAge", -1);
               provinceId = RequestTools.GetQueryInt("province", -1);
               cityId = RequestTools.GetQueryInt("city", -1);


               //mUserLst = UserBLL.Instance.GetUserListByALl(diseaseId, symptomId, treatmentId, username, minAge, maxAge, provinceId, cityId, out _UserCount);

               if (mUserLst == null) AddErrLine("不存在满足条件的用户！");
       

       }



    }
}
